package com.cn.jdia.dc.model;

public class Dbconnect {
    private String servername;

    private String ip;

    private Integer maxconnect;

    private Integer activeconnect;

    private Integer sleepconnect;

    private Integer abortconnect;

    private Integer warn;

    private String bak2;

    private String bak3;

    public String getServername() {
        return servername;
    }

    public void setServername(String servername) {
        this.servername = servername == null ? null : servername.trim();
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public Integer getMaxconnect() {
        return maxconnect;
    }

    public void setMaxconnect(Integer maxconnect) {
        this.maxconnect = maxconnect;
    }

    public Integer getActiveconnect() {
        return activeconnect;
    }

    public void setActiveconnect(Integer activeconnect) {
        this.activeconnect = activeconnect;
    }

    public Integer getSleepconnect() {
        return sleepconnect;
    }

    public void setSleepconnect(Integer sleepconnect) {
        this.sleepconnect = sleepconnect;
    }

    public Integer getAbortconnect() {
        return abortconnect;
    }

    public void setAbortconnect(Integer abortconnect) {
        this.abortconnect = abortconnect;
    }

    public Integer getWarn() {
        return warn;
    }

    public void setWarn(Integer warn) {
        this.warn = warn;
    }

    public String getBak2() {
        return bak2;
    }

    public void setBak2(String bak2) {
        this.bak2 = bak2 == null ? null : bak2.trim();
    }

    public String getBak3() {
        return bak3;
    }

    public void setBak3(String bak3) {
        this.bak3 = bak3 == null ? null : bak3.trim();
    }
}